import requests from "./requests";
//获取用户地址信息
export const reqAddressInfo = () => {
  return requests.get("/user/userAddress/auth/findUserAddressList");
};
//获取商品清单数据
export const reqOrderInfo = () => {
  return requests.get("/order/auth/trade");
};

//提交订单的接口
export const reqSumbitOrder = (tradeNo, data) => {
  return requests.post(`/order/auth/submitOrder?tradeNo=${tradeNo}`, data);
};
